<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <script src="js/jquery-3.4.1.min.js"></script>
    <script>
        $(function(){
            
            $("ul[name=u1]").css("color","red");
        })
        </script>
</head>
<body>
    <div>
        <span class="111">dsadasada</span>
        <ul name="u1">
            <li class="ww">23131231<span>dddd</span></li>
            <li class="jw">dddfff</li>
        </ul>
        <div>262622</div>
    </div>
    
</body>
</html>